<?php $this->load->view('admin/admin_header');?>
		<!-- BEGIN CONTENT -->
		<div class="page-content-wrapper">
			<div class="page-content">
				<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
				<div class="modal fade" id="portlet-config" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
					<div class="modal-dialog">
						<div class="modal-content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
								<h4 class="modal-title">Modal title</h4>
							</div>
							<div class="modal-body">
								 Widget settings form goes here
							</div>
							<div class="modal-footer">
								<button type="button" class="btn blue">Save changes</button>
								<button type="button" class="btn default" data-dismiss="modal">Close</button>
							</div>
						</div>
						<!-- /.modal-content -->
					</div>
					<!-- /.modal-dialog -->
				</div>
				<!-- /.modal -->
				<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
				<!-- BEGIN STYLE CUSTOMIZER -->
				<div class="theme-panel">
					<div class="theme-options">
						<div class="theme-option theme-colors clearfix">
							<span>
							THEME COLOR </span>
							<ul>
								<li class="color-default current tooltips" data-style="default" data-container="body" data-original-title="Default">
								</li>
								<li class="color-grey tooltips" data-style="grey" data-container="body" data-original-title="Grey">
								</li>
								<li class="color-blue tooltips" data-style="blue" data-container="body" data-original-title="Blue">
								</li>
								<li class="color-dark tooltips" data-style="dark" data-container="body" data-original-title="Dark">
								</li>
								<li class="color-light tooltips" data-style="light" data-container="body" data-original-title="Light">
								</li>
							</ul>
						</div>
						<div class="theme-option">
							<span>
							Theme Style </span>
							<select class="layout-style-option form-control input-small">
								<option value="square" selected="selected">Square corners</option>
								<option value="rounded">Rounded corners</option>
							</select>
						</div>
						<div class="theme-option">
							<span>
							Layout </span>
							<select class="layout-option form-control input-small">
								<option value="fluid" selected="selected">Fluid</option>
								<option value="boxed">Boxed</option>
							</select>
						</div>
						<div class="theme-option">
							<span>
							Header </span>
							<select class="page-header-option form-control input-small">
								<option value="fixed" selected="selected">Fixed</option>
								<option value="default">Default</option>
							</select>
						</div>
						<div class="theme-option">
							<span>
							Top Dropdown</span>
							<select class="page-header-top-dropdown-style-option form-control input-small">
								<option value="light" selected="selected">Light</option>
								<option value="dark">Dark</option>
							</select>
						</div>
						<div class="theme-option">
							<span>
							Sidebar Mode</span>
							<select class="sidebar-option form-control input-small">
								<option value="fixed">Fixed</option>
								<option value="default" selected="selected">Default</option>
							</select>
						</div>
						<div class="theme-option">
							<span>
							Sidebar Style</span>
							<select class="sidebar-style-option form-control input-small">
								<option value="default" selected="selected">Default</option>
								<option value="compact">Compact</option>
							</select>
						</div>
						<div class="theme-option">
							<span>
							Sidebar Menu </span>
							<select class="sidebar-menu-option form-control input-small">
								<option value="accordion" selected="selected">Accordion</option>
								<option value="hover">Hover</option>
							</select>
						</div>
						<div class="theme-option">
							<span>
							Sidebar Position </span>
							<select class="sidebar-pos-option form-control input-small">
								<option value="left" selected="selected">Left</option>
								<option value="right">Right</option>
							</select>
						</div>
						<div class="theme-option">
							<span>
							Footer </span>
							<select class="page-footer-option form-control input-small">
								<option value="fixed">Fixed</option>
								<option value="default" selected="selected">Default</option>
							</select>
						</div>
					</div>
				</div>
				<!-- END STYLE CUSTOMIZER -->
				<!-- BEGIN PAGE HEADER-->
				<!-- END PAGE HEADER-->
					<div class="portlet box blue">
										<div class="portlet-title">
											<div class="caption">
												<i class="fa fa-gift"></i>Edit Author
											</div>
											<div class="tools">
												<a href="javascript:;" class="collapse">
												</a>
												<a href="#portlet-config" data-toggle="modal" class="config">
												</a>
												<a href="javascript:;" class="reload">
												</a>
												<a href="javascript:;" class="remove">
												</a>
											</div>
										</div>
										</div>
										<?php echo form_open('admin/author_ctrl/edit_author/', array('class'=>'horizontal-form'));?>
					<?php //echo '<pre>';print_r($edit_author); ?>
												<div class="form-body">
													<div class="row">
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">Article Title</label>
																<input type="text" name="title" value="<?php echo $title;?>" id="firstName" class="form-control" placeholder="Chee Kin">
																<span class="help-block">
																<?php echo form_error('title'); ?> </span>
															</div>
														</div>
														
														<!--/span-->
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">First Name</label>
																<input type="text" name="first_name" value="<?php echo $first_name;?>" id="lastName" class="form-control" placeholder="Lim">
																<span class="help-block">
																<?php echo form_error('first_name'); ?> </span>
															</div>
														</div>
														<!--/span-->
													</div>
													<div class="row">
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">Middle Name</label>
																<input type="text" value="<?php echo $middle_name;?>" name="middle_name" id="firstName" class="form-control" placeholder="Chee Kin">
																<span class="help-block">
																<?php echo form_error('middle_name'); ?> </span>
															</div>
														</div>
														<!--/span-->
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">Last Name</label>
																<input type="text" value="<?php echo $last_name;?>" name="last_name" id="lastName" class="form-control" placeholder="Lim">
																<span class="help-block">
																<?php echo form_error('last_name'); ?> </span>
															</div>
														</div>
														<!--/span-->
													</div>
													<div class="row">
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">Address1</label>
																<input type="text" value="<?php echo $address1;?>" name="address1" id="firstName" class="form-control" placeholder="Chee Kin">
																<span class="help-block">
																<?php echo form_error('address1'); ?> </span>
															</div>
														</div>
														<!--/span-->
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">Address2</label>
																<input type="text" value="<?php echo $address2;?>" name="address2" id="lastName" class="form-control" placeholder="Lim">
																<span class="help-block">
																<?php echo form_error('address2'); ?> </span>
															</div>
														</div>
														<!--/span-->
													</div>
										
													<!--/row-->
													<div class="row">
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">City</label>
																<input type="text" name="city" id="firstName" value="<?php echo $city;?>" class="form-control" placeholder="Chee Kin">
																<span class="help-block">
																<?php echo form_error('city'); ?> </span>
															</div>
														</div>
														<!--/span-->
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">State</label>
																<input type="text" value="<?php echo $state;?>" name="state" id="lastName" class="form-control" placeholder="Lim">
																<span class="help-block">
																<?php echo form_error('state'); ?> </span>
															</div>
														</div>
														<!--/span-->
													</div>
													<!--/row-->
													<div class="row">
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">Country</label>
																<input type="text" name="country" id="firstName" value="<?php echo $country;?>" class="form-control" placeholder="Chee Kin">
																<span class="help-block">
																<?php echo form_error('country'); ?> </span>
															</div>
														</div>
														<!--/span-->
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">Zip</label>
																<input type="text" name="zip" id="lastName" class="form-control" value="<?php echo $zip;?>" placeholder="Lim">
																<span class="help-block">
																<?php echo form_error('zip'); ?> </span>
															</div>
														</div>
														<!--/span-->
													</div>
													<div class="row">
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">Phone1</label>
																<input type="text" value="<?php echo $phone1;?>" name="phone1" id="firstName" class="form-control" placeholder="Chee Kin">
																<span class="help-block">
																<?php echo form_error('phone1'); ?> </span>
															</div>
														</div>
														<!--/span-->
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">Phone2</label>
																<input type="text" name="phone2" id="lastName" class="form-control" value="<?php echo $phone2;?>" placeholder="Lim">
																<span class="help-block">
																<?php echo form_error('phone2'); ?> </span>
															</div>
														</div>
														<!--/span-->
													</div>
													<div class="row">
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">Email</label>
																<input type="email" value="<?php echo $email;?>" name="email" id="firstName" class="form-control" placeholder="Chee Kin">
																<span class="help-block">
																<?php echo form_error('email'); ?> </span>
															</div>
														</div>
														<!--/span-->
														<input type="hidden" value="<?php echo $author_id;?>" name="hidden_id"/>
														<input type="hidden" value="<?php echo $created_by;?>" name="created_by"/>
														<div class="col-md-6">
															<div class="form-group">
																<label class="control-label">Note</label>
																<textarea name="note" id="lastName" class="form-control" placeholder="Lim"><?php echo $description;?></textarea>
																<span class="help-block">
																<?php echo form_error('note'); ?> </span>
															</div>
														</div>
														<!--/span-->
													</div>
												<div class="form-actions right">
													<a href="<?php echo base_url().'index.php/admin/articles_ctrl'?>" class="btn default">Cancel</a>
													<input type="submit" class="btn blue" value="Save"/>
												</div>
												<?php echo form_close();?>
											<!--</form>-->
											<!-- END FORM-->
				<!-- BEGIN PAGE CONTENT-->
				<div class="row">
				



			
<?php $this->load->view('admin/admin_footer');?>
